package com.yian.houseproperty.service.impl;

import com.yian.houseproperty.entity.User;
import com.yian.houseproperty.mapper.UserMapper;
import com.yian.houseproperty.service.IUserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author yian
 * @since 2022-03-14
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements IUserService {
    @Resource
    private  UserMapper userMapper;
    @Override
    public List<User> getOwners() {
        return userMapper.getOwners();
    }
}
